class CreateJudgements < ActiveRecord::Migration
  def self.up
    create_table :judgements, :primary_key => :judgement_id do |t|
      t.integer :ad_id
      t.integer :seller_judgement
      t.string :seller_comment
      t.integer :buyer_judgement
      t.string :buyer_comment
    end
  end

  def self.down
    drop_table :judgements
  end
end
